package com.kbbywyclient.data.entity;

import java.util.List;

/**
 * Created by Jiangzx on 2017/11/2 10:11.
 */

public class MinePartnerData {
    public static class Header{
        private List<Role> roles;
        private List<City> citys;

        public List<Role> getRoles() {
            return roles;
        }

        public void setRoles(List<Role> roles) {
            this.roles = roles;
        }

        public List<City> getCitys() {
            return citys;
        }

        public void setCitys(List<City> citys) {
            this.citys = citys;
        }

        public static class Role{
            private int role;
            private String roleName;

            public int getRole() {
                return role;
            }

            public void setRole(int role) {
                this.role = role;
            }

            public String getRoleName() {
                return roleName;
            }

            public void setRoleName(String roleName) {
                this.roleName = roleName;
            }

            @Override
            public String toString() {
                return this.roleName;
            }
        }

        public static class City{
            private String cityId;
            private String cityName;

            public String getCityId() {
                return cityId;
            }

            public void setCityId(String cityId) {
                this.cityId = cityId;
            }

            public String getCityName() {
                return cityName;
            }

            public void setCityName(String cityName) {
                this.cityName = cityName;
            }

            @Override
            public String toString() {
                return this.cityName;
            }
        }

        private String param1;
        private String param2;
        private String param3;

        public String getParam1() {
            return param1;
        }

        public void setParam1(String param1) {
            this.param1 = param1;
        }

        public String getParam2() {
            return param2;
        }

        public void setParam2(String param2) {
            this.param2 = param2;
        }

        public String getParam3() {
            return param3;
        }

        public void setParam3(String param3) {
            this.param3 = param3;
        }
    }

    public static class Content{
        private int totalPage;
        private List<Partner> partner;

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public List<Partner> getPartner() {
            return partner;
        }

        public void setPartner(List<Partner> partner) {
            this.partner = partner;
        }

        public static class Partner{
            /**
             * trueName : 荣仔二级
             * role : 二级
             * saleID : 100282
             * mobile : 13510173435
             * p_down : 0人
             * p_up : 0人
             */

            private String trueName;
            private String role;
            private int saleID;
            private String mobile;
            private String p_down;
            private String p_up;
            private String logo;

            public String getTrueName() {
                return trueName;
            }

            public void setTrueName(String trueName) {
                this.trueName = trueName;
            }

            public String getRole() {
                return role;
            }

            public void setRole(String role) {
                this.role = role;
            }

            public int getSaleID() {
                return saleID;
            }

            public void setSaleID(int saleID) {
                this.saleID = saleID;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getP_down() {
                return p_down;
            }

            public void setP_down(String p_down) {
                this.p_down = p_down;
            }

            public String getP_up() {
                return p_up;
            }

            public void setP_up(String p_up) {
                this.p_up = p_up;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }
        }
    }
}
